package org.framework.utils;

import java.util.Map;
import java.util.Set;

/**
 * 集合工具类
 * @Author xuelongjiang
 */
public class CollectionUtil {


    public static boolean isEmpty(Map<Class<?>,Object> map){
        return (map == null || map.size() == 0);
    }

    public  static boolean isNotEmpty(Map<Class<?>,Object> map){
        return !isEmpty(map);
    }

    public  static boolean isEmpty(Set<Class<?>> set){
        return set == null || set.size() == 0;
    }

    public  static  boolean isNotEmpty(Set<Class<?>> set){
        return !isNotEmpty(set);
    }



}
